<nav class="navbar navbar-default">
	<div class="container">  	
		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">

			<a  style="margin:0px; padding:0px;" class="navbar-brand" href="<?php echo site_url()?>"><img style="height:50px;" src="<?php echo  base_url() ?>public/img/blog_logo.png"></a>
			<ul class="nav navbar-nav navbar-right">
				<?php
				foreach ($catalogs as $catalog) {
				?>
					<li <?php if($catalog['id']==$catalog_id) echo 'class="active"' ?>><a  href="<?php echo  site_url('blog_ctrl/lists/'.$catalog['id']);?>">  <?=$catalog['name']?></a></li>
				<?php
				}
				?>
			</ul>

		</div>
	</div>
</nav>
